package com.aauedu.auth.service;

import com.aauedu.model.system.SysRole;
import com.aauedu.vo.system.AssginRoleVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

public interface SysRoleService extends IService<SysRole> {


    // 根据用户id获取角色数据
    Map<String, Object> findRoleDataByUserId(Long userId);
//    List<SysRole> findRoleDataByUserId(Long userId);

    // 为用户分配角色
    void doAssign(AssginRoleVo assginRoleVo);

}
